package com.xq.controller;

import com.xq.config.XssHttpServletRequestWrapper;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * 参数配置 信息操作处理
 * 
 * @author bawei
 */
@RestController
@RequestMapping("/config")
public class SysConfigController
{

    @PostMapping(value = "/list",produces = MediaType.APPLICATION_JSON_VALUE)
    public Map list(XssHttpServletRequestWrapper request, String name)
    {
        System.out.println(name);
        String name1 = request.getParameter("name");
        System.out.println(name1);

        Map map = new HashMap();
        return map;
    }


}
